<?php
defined( '_JEXEC' ) or die( 'Restricted index access' );
include('includes/config.php');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
<head>
<jdoc:include type="head" />
<?php include('includes/header.php'); ?>
</head>
<body>
	<div id="wrapper">
		<div id="header-wrapper" class="wrapper">
			<div id="header" class="inner">
				<p class="title">
					<span class="title"><?php echo $siteTitle; ?></span><br />
					<span class="subtitle"><?php echo $baseline;?></span>
				<p>
			</div>
		</div><!-- /header-wrapper -->
		<div id="menu-wrapper" class="wrapper">
			<div id="menu" class="inner">
				<jdoc:include type="modules" name="menu" style="none" />	
			</div>
		</div><!-- /menu-wrapper -->
		<div id="page-wrapper" class="wrapper">
			<div id="page" class="inner">
				<div id="sidebar-left" class="sidebar sidebar-left">
					<div id="sidebar-left-top" class="sidebar-block sidebar-left">
						<jdoc:include type="modules" name="left-top" style="block" />	
					</div>
					<div id="sidebar-left-middle" class="sidebar-block sidebar-left">
						<jdoc:include type="modules" name="left-middle" style="block" />	
					</div>	
					<div id="sidebar-left-bottom" class="sidebar-block sidebar-left">
						<jdoc:include type="modules" name="left-bottom" style="block" />	
					</div>					
				</div><!-- /sidebar-left -->
				<div id="sidebar-right" class="sidebar sidebar-right">
					<div id="sidebar-right-top" class="sidebar-block sidebar-right">
						<jdoc:include type="modules" name="right-top" style="block" />	
					</div>
					<div id="sidebar-right-middle" class="sidebar-block sidebar-right">
						<jdoc:include type="modules" name="right-middle" style="block" />	
					</div>	
					<div id="sidebar-right-bottom" class="sidebar-block sidebar-right">
						<jdoc:include type="modules" name="right-bottom" style="block" />	
					</div>					
				</div><!-- /sidebar-right -->
				<div id="content">
					<div id="content-top" class="content-block">
						<jdoc:include type="message" />
						<jdoc:include type="modules" name="content-top" style="none" />	
					</div>
					<div id="content-middle" class="content-block">
						<jdoc:include type="component" />
					</div>
					<div id="content-bottom" class="content-block">
						<jdoc:include type="modules" name="content-bottom" style="none" />	
					</div>
				</div><!-- /content-right -->
				<div class="clear"></div>
			</div><!-- /page -->
		</div><!-- /page-wrapper -->
		<div id="footer-wrapper" class="wrapper">
          <div id="footer" class="inner">			
            <div id="footer-left">	
    			<jdoc:include type="modules" name="footer-left" style="none" />	
				<?php include('includes/foot.php'); ?>
            </div>
            <div id="footer-right">
                <jdoc:include type="modules" name="footer-right" style="none" />
            </div>
            <div class="clear"></div>
            </div><!-- /footer -->
        </div><!-- /footer-wrapper -->
	</div>
	<jdoc:include type="modules" name="debug" style="debug" />
</body>
</html>

<pre>
<?php print_r($this); ?>
</pre>
